home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-30 | 4.7 KB | 201 lines |
- #
- # This make file is the main make file of the IRIT solid modeller and its
- # auxilary tools.
- #
- # Do the following before run make:
- #
- # 1. Edit 'makeflag.wnt' for the exact path names to ne used for libraries and
- # binaries. Also set the C compiler and linker flags.
- #
- # Gershon Elber, June 1993
- #
-
- include makeflag.wnt
-
- all: misc_lib cagd_lib prsr_lib geom_lib grapdrvs grapdrvs \
- irit poly3d-h illustrt iritfltr docs init # poly3d-r
-
- #
- # Print info regarding initialization.
- #
- init:
- type <<make_wnt.tmp
- Before executing the test suite and/or any usage of this package
- you will have to issue the following command:
-
- Path = %Path%;$(BIN_DIR)
- set IRIT_PATH=$(BIN_DIR)\
- set IRIT_DISPLAY=wntdrvs -s-
-
- and optionally the following commands:
-
- set IRIT_BIN_PIC=1
- set IRIT_SERVER_HOST=`name of this machine'
- set IRIT_SERVER_PORT=5432
-
- or similar.
- <<KEEP
- del make_wnt.tmp
-
- #
- # Uncommend the following variable to only see the actions taken.
- #
- # VIEW_ONLY = -n
-
- misc_lib:
- cd misc_lib
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- prsr_lib:
- cd prsr_lib
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- geom_lib:
- cd geom_lib
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- cagd_lib:
- cd cagd_lib
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- grapdrvs:
- cd grapdrvs
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- irit:
- cd irit
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..\docs
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- poly3d-h:
- cd poly3d-h
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- poly3d-r:
- cd poly3d-r
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- illustrt:
- cd illustrt
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
- iritfltr:
- cd iritfltr
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
- cd ..
-
-
- clean:
- -rm poly3d-h\*.map poly3d-h\*.bak poly3d-h\*.old poly3d-h\*.hdn poly3d-h\*.sym
- -rm poly3d-r\*.map poly3d-r\*.bak poly3d-r\*.old poly3d-r\*.gif poly3d-r\*.sym
- -rm illustrt\*.map illustrt\*.bak illustrt\*.old illustrt\*.sym
- -rm iritfltr\*.map iritfltr\*.bak iritfltr\*.old iritfltr\*.sym
- -rm cagd_lib\*.map cagd_lib\*.bak cagd_lib\*.sym
- -rm prsr_lib\*.map prsr_lib\*.bak prsr_lib\*.sym
- -rm geom_lib\*.map geom_lib\*.bak geom_lib\*.sym
- -rm grap_lib\*.map grap_lib\*.bak grap_lib\*.sym
- -rm misc_lib\*.map misc_lib\*.bak misc_lib\*.sym
- -rm irit\*.map irit\*.bak irit\*.old irit\*.sym irit\*.dat
- -rm docs\irithlp.exe
-
- cleanobj:
- -rm poly3d-h\*.obj poly3d-r\*.obj illustrt\*.obj
- -rm irit\*.obj iritfltr\*.obj cagd_lib\*.obj misc_lib\*.obj
- -rm grap_lib\*.obj prsr_lib\*.obj geom_lib\*.obj docs\*.obj
- -rm docs\irithlp.exe
-
- #
- # Make hardcopy documentation.
- #
- docs:
- cd docs
- -$(MAKE) $(VIEW_ONLY) -f makefile.wnt irit.tex irit.doc
- cd ..
-
- #
- # Test some of the above programs. Make sure $(BIN_DIR) is in your path
- #
- test:
- cd irit
- -irit demo
- cd ..\poly3d-h
- -test-wnt
- cd ..\illustrt
- -test-wnt
- cd ..\iritfltr
- -test-wnt
- cd ..\poly3d-r
- -test-wnt
- cd ..
-
- #
- # Generate dependencies for the source tree.
- #
- depend:
- cd irit
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\poly3d-h
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\poly3d-r
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\illustrt
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\iritfltr
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\cagd_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\misc_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\geom_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\prsr_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\geom_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..\grap_lib
- -makedpnd -u -r -m makefile.unx *.c
- -makedpnd -u -r -m makefile.os2 *.c
- -makedpnd -u -r -m makefile.djg *.c
- -makedpnd -r -m makefile.wnt *.c
- cd ..
-
-